home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL96.LZH / t0222 / text0008.txt < prev    next >
Encoding:
Text File  |  1996-03-07  |  1.0 KB  |  37 lines

  1. On Mon, 19 Feb 1996, Frederic JAUME wrote:
  2.  
  3. > Question #2: i thought that we could have some monsters that would have a 
  4. > special cycling movement (like a guard, walking back and forth in front 
  5. > of a door). But it seems that it's not in the original doom. Is it? I 
  6. > didn't see it mentionend in the Thing Section of the WAD file.
  7.  
  8. I could make a AI programming language for that. I did that in one of my 
  9. previous games which comiled this special language into a special kind of 
  10. assembler. This way, you can program the movements something like:
  11.  
  12.     Object "guard" {
  13.         if( me.hit ) {
  14.             RotateTo( me.attacker.position );
  15.             FireWeapon;
  16.         }
  17.     }
  18.  
  19. Well, you get the idea. This can the be compiled into assembler code. 
  20. Unfortunately I can not say how fast it will be, but there is not very 
  21. much calculations necessary.
  22.  
  23. This is how I would do it if I had much free system time anyways, it 
  24. could open up for a more configurable game than Doom.
  25.  
  26.  
  27.  
  28.     Just my contribution to the weird ideas.
  29.  
  30.  
  31.  
  32. -- 
  33. Elias Martenson
  34. elias@omicron.se
  35.  
  36.  
  37.